home *** CD-ROM | disk | FTP | other *** search
- Program: SETKEY.COM 09/02/85 for the IBM AT only!!
- Written by Kevin M. Crenshaw - May 85 PC Tech Journal
- Modifications and documentation by Terry Barr. (CIS- 70406,377)
-
- The default setting for the AT is equivalent to >SETKEY M2
-
- The possible settings are A-Z, [, \, ], ^, _, ` and then 1-4.
- If you just type SETKEY you will get a default of A1.
-
- ****************** SET TYPEMATIC RATE/DELAY (HEX F3) **********************
-
- The program issues the command 0F3h to the keyboard input port 60h.
- It then sends the parameter to change the typematic rate and delay to
- input port 60h. The typematic rate and delay parameters are
- determined by the value of the byte following the command.
-
- Bit 7, is always 0.
- Bits 6 and 5 serve as the delay parameter.
- Bits 4, 3, 2, 1, and 0 serve as the rate parameter.
-
- The delay is equal to 1 plus the binary value of bits 6 and 5
- multiplied by 250 milliseconds. This gives you delay factors
- of 250, 500, 750 ms. or 1.00 second. The AT has a default of
- 500 milliseconds.
-
- The typematic period is equal to the following equation:
-
- Period = (8+A) * (2^B ) * 0.00417 seconds, where A=binary value
- of bits 2,1, and 0 and B=binary value of bits 4 and 3.
-
- The typematic rate is 1/period. Where period is determined by
- the above equation. The AT has a default typematic rate of 10.0.
-
- The following table shows the results:
-
- Letter Bit Rate Letter Bit Rate
- =================================================================
- A 00000 30.0 Q 10000 7.5
- B 00001 26.7 R 10001 6.7
- C 00010 24.0 S 10010 6.0
- D 00011 21.8 T 10011 5.5
- E 00100 20.0 U 10100 5.0
- F 00101 18.5 V 10101 4.6
- G 00110 17.1 W 10110 4.3
- H 00111 16.0 X 10111 4.0
- I 01000 15.0 Y 11000 3.7
- J 01001 13.3 Z 11001 3.3
- K 01010 12.0 [ 11010 3.0
- L 01011 10.9 \ 11011 2.7
- M 01100 10.0 ] 11100 2.5
- N 01101 9.2 ^ 11101 2.3
- O 01110 8.6 _ 11110 2.1
- P 01111 8.0 ` 11111 2.0
- ================================================================= _ 11110 2.1
- P 01